<template>

  <div class="fly-container">
    <div class="fly-main-container">

      <pro-table ref="tableRef" @onPageChange="getTableData"></pro-table>

    </div>
  </div>


</template>

<!-- 租户管理 -->
<script setup lang="ts" name="TenantComponents">
import {defineAsyncComponent, onMounted, ref} from "vue";
import useTenantInfoComposable from "/@/composables/admin/TenantInfoComposable";

const ProTable = defineAsyncComponent(() => import('/@/components/table/ProTable.vue'));


const {
  getTableData
} = useTenantInfoComposable();


const tableRef = ref<RefType>();


onMounted(() => {
  getTableData();
});

</script>


<style scoped lang="scss">

.fly-container {
  background-color: #f5f6f6;
}

.fly-main-container {
  background-color: #ffffff;
  border-radius: 5px;
  margin: 10px;
  //padding: 5px 10px;
}


</style>